package com.kylefu.design.pattern.bridge;

public abstract class RefinedCar extends Car {

  public RefinedCar(Engine engine) {
    super(engine);
  }

  @Override
  public void drive() {
    this.engine.start();
    System.out.println("drive " + getBrand() + " car...");
  }

  public abstract String getBrand();
}
